package com.ycxy.crm.workbench.service.impl;

import com.ycxy.crm.workbench.mapper.CustomerMapper;
import com.ycxy.crm.workbench.service.CustomersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author jayLuo
 * @Date 2022/10/12 11:30
 * @PackageName:com.ycxy.crm.workbench.service.impl
 * @ClassName: CustomersServiceImpl
 * @Description: TODO
 * @Version 1.0
 */
@Service("customerService")
public class CustomersServiceImpl implements CustomersService {

    @Autowired
    CustomerMapper customerMapper;

    @Override
    public List<String> queryCustomerNameByName(String name) {
        return customerMapper.selectCustomerNameByName(name);
    }
}
